package cn.bob.basic.query;

import lombok.AllArgsConstructor;
import lombok.Data;


@Data
public class BaseQuery {
    // 当前页
    private  Integer currentPage;
    // 每页条数
    private  Integer pageSize;

    public  Integer getStart(){
        return (this.currentPage -1)* this.pageSize;
    }
}
